function main() {
    const com = this.findComponent("组件id");
    com.props.title.value = "修改值";
    com.props.defaultValue.value = "修改值";
}

/**
 * 页面操作
 */
function main(){
    const form = this.findComponent("表单id");
    const com = form.props.state.getModelById("组件id");
    com.props.title.value = "修改值";
    com.props.defaultValue.value = "修改值";
}